From: Krinkle Date: Mon, 9 Jan 2012 00:15:38 +0000 (+0000) Subject: Fix double-escaping in 108312 X-Git-Tag: 1.31.0-rc.0~25412 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=6ed9cdd2dbbec7160749a8d1d76f73c2da201a27;p=lhc%2Fweb%2Fwiklou.git Fix double-escaping in 108312 --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index f691a0c0fd..4114efc413 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -813,7 +813,7 @@ class OutputPage extends ContextSource { $this->mPagetitle = $nameWithTags; # change "foo&bar" to "foo&bar" - $this->setHTMLTitle( $this->msg( 'pagetitle' )->rawParams( htmlspecialchars( Sanitizer::stripAllTags( $nameWithTags ) ) ) ); + $this->setHTMLTitle( $this->msg( 'pagetitle' )->rawParams( Sanitizer::stripAllTags( $nameWithTags ) )->escaped() ); } /**